//package com.base.utils;
//
//import com.base.po.voip.Subscribers;
//import com.base.service.SubscribersService;
//import com.base.service.UsersService;
//import jdk.nashorn.internal.objects.annotations.Constructor;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.PostConstruct;
//
//@Component
//public class UserToHSUtils {
//    public static UserToHSUtils userToHSUtils;
//
//    private final UsersService usersService;
//    private final SubscribersService subscribersService;
//
//    public UserToHSUtils(UsersService usersService, SubscribersService subscribersService) {
//        this.usersService = usersService;
//        this.subscribersService = subscribersService;
//    }
//
//    @PostConstruct
//    public void init(){
//        userToHSUtils=this;
//    }
//
//    /**
//     *  @Date: 2020/7/2 11:32
//     *  @Description:
//     *
//     */
//    public static Boolean userToHS(String parentid,String mobile){
//        Boolean flag=true;
//
//        Subscribers sub=userToHSUtils.subscribersService.selectBySubscribers(mobile,parentid);
//
//    }
//
//}
